package cn.vcjf.weapp.api.user.service.impl;

import cn.vcjf.weapp.api.user.entity.ShoppingCar;
import cn.vcjf.weapp.api.user.mapper.ShoppingCarMapper;
import cn.vcjf.weapp.api.user.service.ShoppingCarService;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhengzihang
 * @since 2018-09-25
 */
@Service("shoppingCarService")
public class ShoppingCarServiceImpl extends ServiceImpl<ShoppingCarMapper, ShoppingCar> implements ShoppingCarService {

	@Override
	public Page<ShoppingCar> selectShoppingCar(Page<ShoppingCar> page, ShoppingCar shoppingCar) {
		return page.setRecords(baseMapper.selectShoppingCar(page, shoppingCar));
	}
}
